GtkColorChooserWidget: emit notification for ::show-editor
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Feb 2012 02:54:31 +0000 (21:54 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 14 Feb 2012 21:36:59 +0000 (16:36 -0500)
gtk/gtkcolorchooserwidget.c

index dc48c18ee22de50188521896ca582c5e516ff4c4..7ca4f9f531fbbaa588265771284d21008b2c2636 100644 (file)
@@ -133,6 +133,7 @@ swatch_customize (GtkColorSwatch        *swatch,
 
   gtk_widget_hide (cc->priv->palette);
   gtk_widget_show (cc->priv->editor);
+  g_object_notify (cc, "show-editor");
 }
 
 static void
@@ -163,6 +164,7 @@ button_activate (GtkColorSwatch        *swatch,
 
   gtk_widget_hide (cc->priv->palette);
   gtk_widget_show (cc->priv->editor);
+  g_object_notify (cc, "show-editor");
 }
 
 static void